<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>监控仪表盘</title>
    <style>
        /* 禁用垂直滚动条 */
        html, body {
            overflow: hidden;
            height: 100%;
            margin: 0;
            padding: 0;
        }
        /* 设置上下结构布局 */
        .container {
            display: flex;
            flex-direction: column;
            height: 100vh;
            overflow: hidden;
        }
        .iframe-container {
            flex: 1;
            overflow: hidden;
            /*border: 1px solid #ccc;*/
        }
        iframe {
            width: 100%;
            height: 100%;
            border: none;
            overflow: hidden;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 实时监控页面 -->
        <div class="iframe-container">
            <iframe src="/real-time" title="实时监控"></iframe>
        </div>
        <!-- 历史监控页面 -->
        <div class="iframe-container">
            <iframe src="/history" title="历史监控"></iframe>
        </div>
    </div>
</body>
</html>